<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
    <style>
        body{
            background-color: black;
        }
    </style>
    <!-- 世纪佳缘 -->
    <!-- <style>
        input{
            outline: none;
        }
    </style> -->

    <!-- 京东关闭广告 -->
    <!-- <style>
        *{
            padding: 0;
            margin: 0;
        }

        .box{
            position: relative;
        }
        .box img{
            width: 100%;
        }
        .box .bit{
            right: 0;
            top: 0px;
            position: absolute;
            width: 20px;
            height: 20px;
        }
    </style> -->

    <!-- 微博下拉菜单 -->
    <!-- <style>
        ul {
            list-style: none;
            display: none;
            margin: 0;

        }

        .nov {
            padding: 0 41px;
        }

        i {
            padding: 0 15px;


        }

        .box {
            position: relative;
            width: 180px;
        }

        .box span {
            margin-left: 12px;
            margin-top: 1px;
            position: absolute;
            background-image: url(./image/icon.png);
            background-position: 0 -970px;
            width: 20px;
            height: 20px;

        }

        li {
            height: 31px;
            padding: 0 15px;
            line-height: 31px;
            width: 50px;
            border: 1px solid orange;
        }

        a:hover {

            color: rgb(255, 132, 0);

        }

        li:hover {
            background-color: rgb(255, 245, 218);
        }

        a {
            text-decoration: none;
            color: #000;
            font-size: 15px;
            /* line-height: 20px; */
        }
    </style> -->

    <!-- <style>
         body{
            background-color: pink;
        } 
     </style>  -->
</head>

<body>

    <!-- 世纪佳缘 -->
    <!-- <input type="text" name="" value="邮箱/id/手机号">
    <script>
        var text=document.querySelector('input')

        text.onfocus=function(){
            // console.log('111');
            if(this.value==='邮箱/id/手机号'){
                this.value=''
            }

            this.style.border='1px solid pink';

        }


        text.onblur=function(){
            if(this.value===''){
                this.value='邮箱/id/手机号'

            }
            this.style.border='1px solid ';

        } -->

    <!-- 京东关闭广告 -->
    <!-- <div class="box">
            <img src="./image/luzhou.jpg" alt="">
            <img class="bit" src="./image/close.jpg" alt="">
        </div>
    
    <script>
        var btn=document.querySelector('.bit')
        var box=document.querySelector('.box')

        btn.onclick=function(){
            box.style.display = 'none';
        } 
    </script> -->

    <!-- 微博下拉菜单 -->
    <!-- <div class="box">
        <div class="nov">
            <i><a href="#">微博</a><span></span></i>
        </div>
        <ul>
            <li><a href="#">私信</a></li>
            <li><a href="#">评论</a></li>
            <li><a href="#">@我</a></li>
        </ul>
    </div>

    <script>
        var btn = document.querySelector('.box')
        var ul = document.querySelector('ul')

        btn.onmouseover = function () {
            ul.style.display = 'block'
        }

        btn.onmouseout = function () {
            ul.style.display = 'none'
        }


    </script> -->

    <!-- 网页开关灯 -->
     <!-- <button>开关灯</button>
    

    <script>
        var but=document.querySelector('button')
     

        but.onclick=function(){
            if(document.body.style.backgroundColor=='black'){
               document.body.style.backgroundColor='white'
            }else{
                document.body.style.backgroundColor='black'
            }
        } 


    </script> -->
</body>

</html>